package vg.services.log_manager.interfaces;

/**
 * Interface for window message. 
 * @author tzolotuhin
 */
public interface IWindowMessage {
	/**
	 * This method shows window with error.
	 * Note: Additionally, it logs the error. 
	 */
	public void errorMessage(String text, String title);
	/**
	 * This method shows window with warning. 
	 * Note: Additionally, it logs the warning.
	 */
	public void warningMessage(String text, String title);
	/**
	 * This method shows window with information.
	 * Note: Additionally, it logs the message. 
	 */
	public void infoMessage(String text, String title);
	
	/**
	 * This method show window with error information.
	 * Note: Additionally, it logs the exception.
	 */
	public void showExceptionMessage(Exception ex);
}
